Addressing Mode Selection in GCC
نویسندگان
چکیده
GCC has no formal addressing mode selection mechanism. It uses target hooks to generate valid addressing modes for a target. However, a significant amount of high level information is destroyed while doing this, especially for targets lacking a rich set of addressing modes. This leads to poor aliasing, and subsequently poorer CSE, GCSE, and scheduling. Hence, an unoptimal object code. This paper proposes an abstraction over RTL to generate machine independent addressing modes to achieve better aliasing. The actual addressing modes of the target are exposed after the first scheduling pass, where they are selected based on current execution scenario. Inter block address inheritance is also done at this point. The idea can be extended to specify a general “mid-level” RTL for GCC.
منابع مشابه
Alias Analysis for Intermediate Code
Most existing alias analysis techniques are formulated in terms of high-level language constructs and are unable to cope with pointer arithmetic. For machines that do not have ’base + offset’ addressing mode, pointer arithmetic is necessary to compute a pointer to the desired address. Most state of the art compilers such as GCC lack the mechanism to determine aliasing between such computed poin...
متن کاملThe Influence of Microprocessor Instructions on the Energy Consumption of Wireless Sensor Networks
The field of low power compilation could be applied to sensor networks to yield significant savings for the sensing, computation, and communications processes in sensor networks. Such savings could come via simple low power savings flags for future compilers used by sensor network developers. In this paper, we instrument the Moteiv Tmote Sky as a representative sensor, and conduct a set of expe...
متن کاملForeign Direct Investment and Economic Growth: Evidence from Iran and GCC
Abstract F DI can create employment and reduce poverty, increase the host country’s export capacity causing the developing country to increase its foreign exchange earnings. The aim of this study is to investigate whether FDI affect economic growth in GCC countries over the period 1980-2014 using ARDL approaches. The empirical results show that the FDI is one of the major drivers of e...
متن کاملA comparison study on the flexural strength and compressive strength of four resin-modified luting glass ionomer cements.
The purpose of this study is to compare the differences in flexural strength and compressive strength between four resin-modified luting glass ionomer cements that are commonly used in clinics. Furthermore, this study investigates the influence of curing mode on the flexural strength and compressive strength of dual-cured resin-modified glass ionomer cements. Initially, flexural strength and co...
متن کاملScar Selection in an Optical Fibre
A multimode optical fiber with a D-shaped cross-section has already been proved to constitute a privileged system to image wave functions of a chaotic system. Nevertheless, diffraction of light at the fiber input precludes the excitation of individual wave functions and particularly the scar modes we want to investigate. We show that a mechanism of scar modes selection can be induced by the int...
متن کامل